package com.baidu.service;

import com.baidu.entity.PowerBean;
import com.baidu.entity.UserBean;
import com.baidu.mapper.UserMapper;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.ModelAndView;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserService {
    @Resource
    UserMapper um;

    public List<PowerBean> getPowerList() {
        return um.getPowerList();
    }

    public List<UserBean> getUserList() {
        return um.getUserList();
    }
}
